package org.epanetgrid.otimizacao.ag;

import org.epanetgrid.otimizacao.log.AGLogger;
import org.jheuristics.Individual;
import org.jheuristics.ga.GAConfig;
import org.jheuristics.ga.GAStatus;
import org.jheuristics.ga.Population;


/**
 * Classe que adiciona camada de log no seletor de indiv�duos invi�veis
 * @author Vin�cius Ferraz Campos, vinicius.ferraz@gmail.com
 *
 */
public class InviaveisSelectorDecorator extends InviaveisSelector{


	/* (non-Javadoc)
	 * @see org.jheuristics.ga.operators.Selector#select(org.jheuristics.ga.Population, int, org.jheuristics.ga.GAStatus, org.jheuristics.ga.GAConfig)
	 */
	public Individual[] select(Population population, int howMany, GAStatus status, GAConfig config) {
		AGLogger.getInstance().debug("Sub-Grupo Inviáveis:");
		return super.select(population, howMany, status, config);
	}

}
